package com.moon.game.command.guest;

import com.moon.game.clazz.PBMessageProto.PBMessage;
import com.moon.game.client.UdpClientSet;
import com.moon.game.command.BaseCmd;
import com.moon.game.command.RequestSession;
import com.moon.game.exception.GException;
import com.moon.game.util.MessageUtil;

public class Test extends BaseCmd{

	@Override
	protected void runOnce(RequestSession req) {
		System.out.println("run");
		try {
			PBMessage.Builder request = MessageUtil.buildMessage(1, String.valueOf("0".hashCode()));
			UdpClientSet.send2ProfileServer(request);
		} catch (GException e) {
			e.printStackTrace();
		}
	}

	@Override
	protected void doResponse(RequestSession req) {
		
	}

}
